import request from '@/utils/request'

// 查询人群资产日期记录列表
export function listBiCrowdAssetsDwd(query) {
  return request({
    url: '/sale/BiCrowdAssetsDwd/list',
    method: 'get',
    params: query
  })
}

// 查询人群资产日期记录详细
export function getBiCrowdAssetsDwd(id) {
  return request({
    url: '/sale/BiCrowdAssetsDwd/' + id,
    method: 'get'
  })
}

// 新增人群资产日期记录
export function addBiCrowdAssetsDwd(data) {
  return request({
    url: '/sale/BiCrowdAssetsDwd',
    method: 'post',
    data: data
  })
}

// 修改人群资产日期记录
export function updateBiCrowdAssetsDwd(data) {
  return request({
    url: '/sale/BiCrowdAssetsDwd',
    method: 'put',
    data: data
  })
}

// 删除人群资产日期记录
export function delBiCrowdAssetsDwd(id) {
  return request({
    url: '/sale/BiCrowdAssetsDwd/' + id,
    method: 'delete'
  })
}
